﻿// =================================================================== 
// 项目说明
//====================================================================
// liucx @Copy Right 2019
// 文件： CommentEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/9/4
// 负责人：liucx
// ===================================================================

using System;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///内容数据实体  
    /// </summary>
    public class Comment
    {
        ///<summary>
        ///内容
        ///</summary>
        public Comment()
        {
        }


        ///<summary>
        ///主键
        ///</summary>
        public int CommentID { get; set; }

        ///<summary>
        ///名称
        ///</summary>
        public string CommentName { get; set; }

        ///<summary>
        ///简介
        ///</summary>
        public string CommentDesc { get; set; }

        ///<summary>
        ///简图
        ///</summary>
        public string HeadImgUrl { get; set; }

        ///<summary>
        ///文章类别(1:默认手动输入信息 2.从公众号抓取 3.链接)
        ///</summary>
        public int CommentType { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        public int UserID { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string OpenID { get; set; }

        ///<summary>
        ///公司ID
        ///</summary>
        public int CompanyID { get; set; }
        /// <summary>
        /// 文章链接(类别为3时有效)
        /// </summary>
        public string CommentLink { get; set; }
        ///<summary>
        ///是否可见（0：否，1：是) 可能是草稿，暂不发布
        ///</summary>
        public int IsShow { get; set; }

        ///<summary>
        ///来源产品
        ///</summary>
        public int SourceID { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        public DateTime CreateDate { get; set; }

        ///<summary>
        ///更新时间
        ///</summary>
        public DateTime UpdateDate { get; set; }

        ///<summary>
        ///逻辑标识(1：可用 0：禁用)
        ///</summary>
        public int IsActive { get; set; }
    }
}